﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using System.ServiceModel.Web;

namespace WcfService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMyCourseService" in both code and config file together.
    [ServiceContract]
    public interface IMyCourseService
    {
        [OperationContract]
        void DoWork();

        [OperationContract]
              DataSet CourseList(string ID);

        //  [WebInvoke(Method="GET", ResponseFormat= WebMessageFormat.Xml, 
        //    BodyStyle=WebMessageBodyStyle.Bare,
        //    UriTemplate = "CourseList/"
        //)]


         
    }
}
